Skip to main content

Errors

Pool

Error Nameerror codeDescription
Pool_BorrowAmountTooLow(uint256,address,uint256)ec8c58d9Borrowed amount is lower than minimum borrow amount
Pool_DebtTooLow(uint256,address,uint256)fa33d66dDebt is below min debt amount
Pool_FeeTooHigh()87881b47Given fee value is greater than 100%
Pool_InsufficientBorrowLiquidity(uint256,uint256,uint256)bbf9dcf4Insufficient pool liquidity to service borrow
Pool_InsufficientWithdrawLiquidity(uint256,uint256,uint256)bfaa5c8eInsufficient pool liquidity to service withdrawal
Pool_NoRateModelUpdate(uint256)e57d69dcRate model was not found in the Sentiment registry
Pool_OnlyPoolOwner(uint256,address)d2d2acbeFunction access restricted only to the pool owner
Pool_OnlyPositionManager(uint256,address)3b0a6bb6Function access restricted only to Sentiment Position Manager
Pool_OracleNotFound(address)62ece640No oracle found for pool asset
Pool_PoolAlreadyInitialized(uint256)e9a00b4aAttempt to initialize an already existing pool
Pool_PoolCapExceeded(uint256)4cdec45cPool deposits exceed asset cap
Pool_PoolPaused(uint256)dcb75bcePool is paused
Pool_RateModelNotFound(bytes32)25947b69No pending rate model update for the pool
Pool_TimelockExpired(uint256,uint256,uint256)05012df9Rate model timelock deadline has passed
Pool_TimelockPending(uint256,uint256,uint256)7ec55917Rate model timelock delay has not been completed
Pool_ZeroAddressOwner()a258c672Zero address cannot be the pool owner
Pool_ZeroShareRedeem(uint256,uint256)3fb5a6efAttempt to redeem zero shares worth of assets from the pool
Pool_ZeroSharesBorrow(uint256,uint256)2a2b6de3Attempt to borrow zero shares worth of assets from the pool
Pool_ZeroSharesDeposit(uint256,uint256)e45eaa51Attempt to deposit zero shares worth of assets to the pool
Pool_ZeroSharesRepay(uint256,uint256)4e4e9e6cAttempt to repay zero shares worth of assets to the pool

Position

Error Nameerror codeDescription
Position_ExecFailed(address,address)e93dfe32Exec operation on the position returned false
Position_MaxAssetsExceeded(address)b6acde7eNumber of assets held by the position exceeds MAX_ASSETS
Position_MaxDebtPoolsExceeded(address)f95b984bNumber of pools with active borrows exceeds MAX_DEBT_POOLS
Position_OnlyPositionManager(address,address)02787588Function access restricted to Sentiment Position Manager

Position Manager

Error Nameerror codeDescription
PositionManager_AddUnknownToken(address)0018c19dAttempt to add unrecognized asset to a position's asset list
PositionManager_ApproveUnknownAsset(address)e61feed6Attempt to approve unknown asset
PositionManager_DepositUnknownAsset(address)20d1dc8dAttempt to deposit unrecognized asset to position
PositionManager_HealthCheckFailed(address)3236e202Position health check failed
PositionManager_LiquidateHealthyPosition(address)1a2f48b7Cannot liquidate healthy position
PositionManager_OnlyPositionAuthorized(address,address)06540d14Function access restricted to authorozied addresses
PositionManager_OnlyPositionOwner(address,address)2280c1e9Function access restricted to position owner only
PositionManager_PredictedPositionMismatch(address,address)9012152cPredicted position address does not match with deployed address
PositionManager_SeizeInvalidAsset(address,address)e5b0202aSeized asset does not belong to to the position's asset list
PositionManager_TransferUnknownAsset(address)fac1a4bfAttempt to transfer unrecognized asset out of position
PositionManager_UnknownFuncSelector(address,bytes4)61db8792Unknown target-function selector pair
PositionManager_UnknownPool(uint256)7de7d454The pool a position is trying to borrow from does not exist
PositionManager_UnknownSpender(address)7280232cUnknown spenders cannot be granted approval to position assets

Risk Engine

Error Nameerror codeDescription
RiskEngine_CannotBorrowPoolAsset(uint256)2e762e16Pool LTV for the asset being lent out must be zero
RiskEngine_LtvLimitBreached(uint256)c3f8e7ecProposed LTV is outside of protocol LTV bounds
RiskEngine_LtvUpdateExpired(uint256,address)24aad6d1Timelock deadline for LTV update has passed
RiskEngine_LtvUpdateTimelocked(uint256,address)03c287a9Timelock delay for the pending LTV update has not been completed
RiskEngine_MaxLtvTooHigh()2b3af9e6Global max ltv must be less than 100%
RiskEngine_MinLtvTooLow()e2dc5a7bGlobal min ltv cannot be zero
RiskEngine_NoLtvUpdate(uint256,address)188505a6There is no pending LTV update for the given Pool-Asset pair
RiskEngine_NoOracleFound(address)03206973There is no oracle associated with the given asset
RiskEngine_OnlyPoolOwner(uint256,address)fa5947cdFunction access is restricted to the owner of the pool

Risk Module

Error Nameerror codeDescription
RiskModule_LiquidateHealthyPosition(address)181d012bCannot liquidate healthy positions
RiskModule_NoBadDebt(address)58f1ee46Position does not have any bad debt
RiskModule_SeizedTooMuch(uint256,uint256)e1fab7c8Value of assets seized by the liquidator exceeds liquidation discount
RiskModule_UnsupportedAsset(address,uint256,address)65f81bdfPosition contains an asset that is not supported by a pool that it borrows from
RiskModule_ZeroMinReqAssets()6eda0aa4Minimum assets required in a position with non-zero debt cannot be zero

Super Pool

Error Nameerror codeDescription
SuperPool_FeeTooHigh()80ed0c2cFee value is greater than 100%
SuperPool_InvalidQueueReorder()07c2a12fInvalid queue reorder parameters
SuperPool_MaxQueueLengthReached(address)6ffa3bf6Number of pools in the queue exceeds MAX_QUEUE_LENGTH
SuperPool_NoFeeUpdate()eba5da00No pending SuperPool fee update
SuperPool_NonZeroPoolBalance(address,uint256)6752a1afAttempt to remove underlying pool with non-zero deposits
SuperPool_NotEnoughLiquidity(address)366f1c06Insufficient Liquidity to service withdrawal
SuperPool_OnlyAllocatorOrOwner(address,address)20f8d4dbFunction access is restricted to pool owners and allocators
SuperPool_PoolAlreadyInQueue(uint256)d163b6d3Attempt to add a pool already in the queue
SuperPool_PoolAssetMismatch(address,uint256)18d7db2fUnderlying pool asset does not match Super Pool asset
SuperPool_PoolNotInQueue(uint256)64f40e0aAttempt to interact with a queue not in the SuperPool queue
SuperPool_QueueLengthMismatch(address)2234ed25Reordered queue length does not match current queue length
SuperPool_ReorderQueueLength()a02e5f08Reordered queue length does not match original queue length
SuperPool_SuperPoolCapReached()65ff1852Global asset cap for this SuperPool has been reached
SuperPool_TimelockExpired(uint256,uint256)bc180d84Superpool fee timelock deadline has passed
SuperPool_TimelockPending(uint256,uint256)606c5ddaSuperpool fee timelock delay has not been completed
SuperPool_ZeroAssetMint(address,uint256)5918a504Attempt to mint zero asset worth of shares from the pool
SuperPool_ZeroAssetRedeem(address,uint256)6e9c69fbAttempt to withdraw zero shares worth of assets
SuperPool_ZeroFeeRecipient()f5375a33SuperPools with non-zero fees cannot have an address(0) fee recipient
SuperPool_ZeroPoolCap(uint256)1c7f96f6Underlying pools must have non-zero pool caps
SuperPool_ZeroShareDeposit(address,uint256)7a404523Attempt to deposit zero shares worth of assets to the pool
SuperPool_ZeroShareWithdraw(address,uint256)54195064Attempt to withdraw zero shares worth of assets

Super Pool Factory

Error Nameerror codeDescription
SuperPoolFactory_TooFewInitialShares(uint256)fa6f6aaaAmount of initial shares burned is too low
SuperPoolFactory_ZeroFeeRecipient()1f59886bSuperPools with non-zero fees cannot have an address(0) fee recipient
Error Nameerror codeDescription
ChainlinkEthOracle_GracePeriodNotOver()7ec3cef7L2 Sequencer has recently recovered from downtime and is in its grace period
ChainlinkEthOracle_NonPositivePrice(address)b079f33dLatest price update for asset has a negative value
ChainlinkEthOracle_SequencerDown()fd0643dcL2 sequencer is experiencing downtime
ChainlinkEthOracle_StalePrice(address)07def312Last price update for asset was before the accepted stale price threshold
ChainlinkUsdOracle_GracePeriodNotOver()f30bbf0dLast price update for asset was before the accepted stale price threshold
ChainlinkUsdOracle_NonPositivePrice(address)12748980Latest price update for asset has a negative value
ChainlinkUsdOracle_SequencerDown()c03e4c05L2 sequencer is experiencing downtime
ChainlinkUsdOracle_StalePrice(address)e7cbfb51Last price update for asset was before the accepted stale price threshold